package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwPsw;
import com.tjmc.tiomscore.model.TranPtnHwPswExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwPswMapper extends TranPtnHwSuperMapper<TranPtnHwPsw> {
    long countByExample(TranPtnHwPswExample example);

    int deleteByExample(TranPtnHwPswExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwPsw record);

    int insertSelective(TranPtnHwPsw record);

    List<TranPtnHwPsw> selectByExample(TranPtnHwPswExample example);

    TranPtnHwPsw selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwPsw record, @Param("example") TranPtnHwPswExample example);

    int updateByExample(@Param("record") TranPtnHwPsw record, @Param("example") TranPtnHwPswExample example);

    int updateByPrimaryKeySelective(TranPtnHwPsw record);

    int updateByPrimaryKey(TranPtnHwPsw record);
}